package com.yangquan;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableScheduling
@SpringBootApplication
public class SimpleQuartzApplication {

    public static void main(String[] args) {
        System.out.println("参考链接写死的定时任务 含有quartz https://mp.weixin.qq.com/s/_20RYBkjKrB4tdpXI3hBOA\n" +
                "同时Quartz是支持数据持久化的，可以将定时调度信息持久化到数据库。");
        System.out.println("参考 https://mp.weixin.qq.com/s/skZ7uU7q1iH9QrV2EKiGOg");
        SpringApplication.run(SimpleQuartzApplication.class, args);


        System.out.println("https://mp.weixin.qq.com/s?__biz=MzI1NDY0MTkzNQ==&mid=2247494773&idx=1&sn=e0b277795f032381526edb6060b57bdc&chksm=e9c0be15deb73703a57cf2e3144068f10567f67a3a873f9a2979cfd23d075a621fb1e065643d&scene=178&cur_album_id=1804739347854737411#rd");
        System.out.println("https://mp.weixin.qq.com/s?__biz=MzI1NDY0MTkzNQ==&mid=2247494803&idx=1&sn=00ff53b2a2481f7166b84ea32ae86807&chksm=e9c0bef3deb737e58b2526185083d3e86cca0bea24a85bc082feef34b9db3fb72dad18221c0c&scene=178&cur_album_id=1804739347854737411#rd");
        System.out.println("定义任务  任务触发");
    }

}
